<%@page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="x" uri="/soar-bx-tags"%>
<x:HeaderParts modal="true"/>
<x:MainPartsTag modal="true">
<x:zone name="MainZone">
<x:Form action="auth/resicon.shtml">
<x:ParamsParts defaultMethod="selIcon">
</x:ParamsParts>
<x:SearchParts>
样式：<x:TextField name="searchIconClazz" />
分组：<x:SelectField name="searchIconGroup" refvalue="ICON_GROUP" dataList="icongroupall" refname="ICON_GROUP" emptyName="选择分组"></x:SelectField>
</x:SearchParts>
<div style="font-size: 18px;">
<s:iterator value="icongroup" var="gp">
<s:if test="searchIconGroup == #gp.ICON_GROUP || searchIconGroup == null || searchIconGroup == ''">
  <p style="background-color: #f5f5f5;font-weight: bold;border-color: #ddd;padding-left: 3px;"><s:property value="#gp.ICON_GROUP"/></p>
  <p style="font-weight: bold;border-color: #ddd;padding-left: 3px;">
	    <s:iterator value="sysPageList" var="sys">
		  <s:if test="#sys.ICON_GROUP == #gp.ICON_GROUP">
		  	<i data-toggle="tooltip" data-placement="top" data-html="true" data-template='<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' title="<i class='<s:property value="#sys.ICON_CLAZZ"/> fa-3x'></i>" class="<s:property value="#sys.ICON_CLAZZ"/>" onclick="doChoose(this)" style="margin-left:2px;"> </i>
		  </s:if>
	  	</s:iterator>
  </p>
</s:if>
</s:iterator>
</div>
<x:ButtonsParts>
<x:Button role="success" value="确定" onclick="doChoose()"></x:Button>
<x:Button role="default" value="关闭" onclick="X.CloseLayer()"></x:Button>
</x:ButtonsParts>
<x:JsParts fn="doChoose">
$(function () {
  $('[data-toggle="tooltip"]').tooltip();
})
function doChoose(obj)
{
	var icon=$(obj).attr("class");
	window.parent.dochoose(icon);
	X.CloseLayer();
}
</x:JsParts>
</x:Form>
</x:zone>
</x:MainPartsTag>
